package com.xianzhiOA.service;/**
 * Created by Administrator on 2017/4/27.
 */

import com.xianzhiOA.bean.XzRole;
import com.xianzhiOA.util.PageBean;

import java.util.Date;
import java.util.List;

/**
 * 角色的业务层
 *
 * @author 甘汝雷
 * @create 2017-04-27 15:56
 **/
public interface XzRoleService {

    int addRole(XzRole role);
    List<XzRole> selRoleAll(XzRole role);
    PageBean<XzRole> selRoleAll(XzRole role, int page, int rows, Date beginDate, Date endDate);
    XzRole selByRoleId(Long roleId);
    int update(XzRole role);
    int delete(Long roleId);
}
